package com.sbl.bajw.pc.service;

import java.util.HashMap;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.sbl.bajw.common.MyBatisDao;
import com.sbl.bajw.mapper.AppLogModelDao;
import com.sbl.bajw.pc.model.AppLogModel;

@Service
public class AppLogService {

	@Resource
	private AppLogModelDao dao;
	
	@Resource
	private MyBatisDao gridDao;
	
	public void insert(AppLogModel model){
		dao.insert(model);
	}
	
	public String getAppLogList(HashMap<String, Object> parm){
		String json = gridDao.selectPage(AppLogModelDao.class, parm, "getAppLogList");
		return json;
	}
}
